home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE08
/
CLINIC
/
LISTING2.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1996-03-16
|
224 b
|
8 lines
{Listing 2}
procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char);
begin
if Key = Chr(vk_Return) then begin
Key := #0;
SelectNext(ActiveControl, GetKeyState(vk_Shift) and $80 = 0, True);
end;
end;